class Document {
     String documentName
     String documentType
     String documentContent
     
     static constraints = {
          documentName (nullable:false, blank: false, size:5..100)
          documentType (nullable: false, blank: false, size:0..100)
          documentContent (nullable: true, blank: true, size:0..20000)
     }
     
     String toString() { "${this.documentName}.$documentType" }
}
